package com.bosssoft.entity.po;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Li kexi
 * Created on 2021/8/23.10:58
 */
/**
    * 支出预算表
    */
@ApiModel(value="com-bosssoft-entity-po-FibExpenseBudgetPO")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "fib_expense_budget")
public class FibExpenseBudgetPO implements Serializable {
    /**
     * 支出id
     */
    @TableId(value = "eb_id", type = IdType.ASSIGN_ID)
    @ApiModelProperty(value="支出id")
    private Long ebId;

    /**
     * 单位编码
     */
    @TableField(value = "dept_id")
    @ApiModelProperty(value="单位编码")
    private Long deptId;

    /**
     * 单位名称
     */
    @TableField(value = "dept_name")
    @ApiModelProperty(value="单位名称")
    private String deptName;

    /**
     * 经济科目代码
     */
    @TableField(value = "eco_code")
    @ApiModelProperty(value="经济科目代码")
    private Integer ecoCode;

    /**
     * 金额
     */
    @TableField(value = "amount")
    @ApiModelProperty(value="金额")
    private BigDecimal amount;

    /**
     * 年度
     */
    @TableField(value = "`year`")
    @ApiModelProperty(value="年度")
    private Integer year;

    /**
     * 审核进程
     */
    @TableField(value = "`status`")
    @ApiModelProperty(value="审核进程")
    private Integer status;

    /**
     * 创建时间
     */
    @TableField(value = "create_time",fill = FieldFill.INSERT)
    @ApiModelProperty(value="创建时间")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time",fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value="更新时间")
    private Date updateTime;

    /**
     * 创建人
     */
    @TableField(value = "create_by")
    @ApiModelProperty(value="创建人")
    private String createBy;

    /**
     * 更新人
     */
    @TableField(value = "update_by")
    @ApiModelProperty(value="更新人")
    private String updateBy;

    /**
     * 激活状态
     */
    @TableLogic
    @TableField(value = "deleted")
    @ApiModelProperty(value="激活状态")
    private Byte deleted;

    /**
     * 版本号
     */
    @Version
    @TableField(value = "version")
    @ApiModelProperty(value="版本号")
    private Integer version;

    private static final long serialVersionUID = 1L;
}